cmake_minimum_required(VERSION 2.8)
PROJECT(easyasio CXX C)
include_directories(thirdparty/asio-master/asio/include)
include_directories(thirdparty/miniboost/miniboost)
#link_directories(/home/liuyh/app/lib)

add_definitions(-std=c++11
		-std=c++1y
	) 
SET(CMAKE_BUILD_TYPE "Release")
#SET(CMAKE_BUILD_TYPE "Debug")

#SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -pg")
#SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -O2 -finline-limit=1000")

set(CMAKE_CXX_FLAGS_RELEASE "-O2 -finline-limit=1000 -DNDEBUG")

add_subdirectory(thirdparty/miniboost)
add_subdirectory(easyasio)
add_subdirectory(exameples)
